package com.cmo.common;

import com.cmo.common.calling.controller.CallingLogOutController;
import com.cmo.common.calling.controller.CallingLoginController;
import com.cmo.common.calling.controller.CallingPatientQueueController;
import com.cmo.common.controller.doctor.DoctorController;
import com.cmo.common.controller.index.IndexController;
import com.cmo.common.controller.login.LoginController;
import com.cmo.common.controller.pager.PagerController;
import com.cmo.common.controller.paiban.DoctorOrPagerPaibanController;
import com.cmo.common.controller.patientqueue.PatientQueueController;
import com.cmo.common.controller.qingmujiayanglaozhongxin.QmjylzxController;
import com.cmo.common.controller.queuetype.QueueTypeController;
import com.cmo.common.controller.rltDoctor2queueType.RltDoctor2queueTypeController;
import com.cmo.common.controller.triage.TriageController;
import com.jfinal.config.Routes;

public class FrontRoutes extends Routes {

	@Override
	public void config() {
		/**
		 * 分诊台
		 */
		setBaseViewPath("/");
		add("/", LoginController.class);
		add("/triagecl",TriageController.class);
		add("/queueType",QueueTypeController.class);
		add("/patientQueue",PatientQueueController.class);
		add("/rltDoctor2queueType", RltDoctor2queueTypeController.class);
		add("/paiban",DoctorOrPagerPaibanController.class);
		add("/doctor",DoctorController.class);
		add("/pager",PagerController.class);
		add("/index",IndexController.class);
		/**
		 * 叫号器
		 */
		add("/call_login",CallingLoginController.class);
		add("/call_patient",CallingPatientQueueController.class);
		add("/call_logout",CallingLogOutController.class);

		//亲穆家养老中心
		add("/qmj",QmjylzxController.class);
	}
}
